package com.onepower.core.modules.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.onepower.core.modules.repository.entity.MatchScoreRuleProject;
import com.onepower.core.modules.repository.mapper.MatchScoreRuleProjectMapper;
import com.onepower.core.modules.service.IMatchScoreRuleProjectService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class IMatchScoreRuleProjectServiceImpl extends ServiceImpl<MatchScoreRuleProjectMapper, MatchScoreRuleProject>
        implements IMatchScoreRuleProjectService {

    @Override
    public List<MatchScoreRuleProject> projectList(Integer ruleId) {
        List<MatchScoreRuleProject> list = baseMapper.selectScoreRuleProjectList(ruleId);
        return list;
    }

    @Override
    public void save(List<MatchScoreRuleProject> matchScoreRuleProjects) {

    }

    @Override
    public List<Map<String, Object>> projectMapList(Integer ruleId) {
        List<Map<String, Object>> list = baseMapper.selectScoreRuleProjectMapList(ruleId);
        return list;
    }
}
